import request from '../utils/request'
import { baseURL } from '../config'
import { SearchUser } from '../types/home'

export function searchUser(params: SearchUser) {
    return request({
        baseURL: baseURL,
        url: '/face/search',
        method: 'post',
        headers: {
            'Content-Type': 'application/json'
        },
        data: params
    })
}